partial revert of b9eedea4b0368fd1f00f204db75109ff444fab5b upstream
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Thu, 13 Jun 2024 09:16:40 +0000 (11:16 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Sun, 8 Mar 2026 10:11:47 +0000 (11:11 +0100)
Forwarded: not-needed

Gbp-Pq: Topic build
Gbp-Pq: Name d-bootstrap-permit-symlink-in-docs.patch

src/bootstrap/src/core/build_steps/dist.rs

index 411d42962644dca782b4491e260b601d0731fbc7..9e57bd3d768c94fe3d723ccb163b2f027e879139 100644 (file)
@@ -89,6 +89,7 @@ impl Step for Docs {
         tarball.add_bulk_dir(builder.doc_out(host), dest);
         tarball.add_file(builder.src.join("src/doc/robots.txt"), dest, FileType::Regular);
         tarball.add_file(builder.src.join("src/doc/sitemap.txt"), dest, FileType::Regular);
+        tarball.permit_symlinks(true);
         Some(tarball.generate())
     }